import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
const routes = [
  // {
  //   path: '/',
  //   name: 'Login',
  //   component: () => import('@/views/Login.vue'),
  //   meta: {
  //     title: '登录界面'
  //   }
  // },
  // {
  //   path: '/login',
  //   redirect: '/'
  // },
  {
    path: '/',
    name: 'Home',
    component: () => import('@/views/Home.vue'),
    meta: {
      title: '昔阳智慧党建大数据管理云平台'
    }
  },
  {
    path: '/grid',
    name: 'grid',
    component: () => import('@/views/grid.vue'),
    meta: {
      title: '昔阳全域网格化党建治理大数据指挥中心'
    }
  },{
    path: '/cun',
    name: 'cun',
    component: () => import('@/views/cun.vue'),
    meta: {
      title: '昔阳县村级集体经济大数据'
    }
  }
]
const router = new VueRouter({
  mode: 'hash',
  base: process.env.BASE_URL,
  routes
})
export default router